"""
比较运算符
"""

def testCompare():
    # 等于
    age = 3
    print("age == 3 is {}".format(age == 3))

    # 不等于 !=
    print("age != 4 is {}".format(age != 4))

    # 大于 >
    print("age > 4 is {}".format(age > 4))

    # 小于 <
    print("age < 34 is {}".format(age < 34))

    # 大于等于 >=
    print("age >= 2 is {}".format(age >= 2))

    # 小于等于 <= 
    print("age <= 1 is {}".format(age <= 1))

testCompare()